package com.dfbz.demo02_枚举的使用;

import org.junit.Test;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo04_枚举的构造方法 {


    @Test
    public void test() throws Exception {
        Direction front = Direction.FRONT;
    }



    @Test
    public void test2() throws Exception {


        Week monday = Week.MONDAY;
        monday.setName("星期一");
        monday.setLoveLevel(0);
        monday.show();

        Week saturday = Week.SATURDAY;
        saturday.show();
    }
}
